package work.xiaohong.websocket.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author xiaohong
 * @version 1.0
 * @date 2021/9/25 0025 16:05
 * @description 判断是否是好友实体类
 */
@Data
public class FriendQueryVo implements Serializable {

    @NotNull(message = "用户id不能为空")
    @NotEmpty(message = "用户id不能为空")
    @NotBlank(message = "用户id不能为空")
    private String userId;//用户id

    @NotNull(message = "好友id不能为空")
    @NotEmpty(message = "好友id不能为空")
    @NotBlank(message = "好友id不能为空")
    private String friendId;//好友id

}
